<include file="public:header"/><br>
<!--会员列表-->
<div class="pad_lr_10">
    <table width="100%" cellspacing="0" class="search_form">
        <tbody>
        <tr>
            <td>
                <div style="margin-bottom:10px;">
                    <a href="{:U('user/add_teamer',array('id'=>$tid))}" class="btn ">团队列表</a>

                    <a href='{:U("team/order_teamer",array("id"=>$id,"tid"=>$tid))}' class="btn btn_submit">消费明细</a>


                    <a href='{:U("team/price_teamer",array("id"=>$id,"tid"=>$tid))}' class="btn">资金明细</a>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="explain_col">
                    <form name="searchform" method="get">
                        <input type="hidden" name="g" value="admin"/>
                        <input type="hidden" name="m" value="team"/>
                        <input type="hidden" name="a" value="order_teamer"/>
                        <input type="hidden" name="menuid" value="{$menuid}"/>
                        <input type="hidden" name="bid" value='{$id}'/>
                        <input type="hidden" name="tid" value="{$tid}"/>
                        &nbsp;&nbsp;订单类型：
                        <select name="type">
                            <option value="">订单类型(全部)</option>
                            <option value="1"
                            <if condition="$search.type eq 1">selected</if>
                            >消费</option>
                            <option value="2"
                            <if condition="$search.type eq 2">selected</if>
                            >退款</option>
                            <option value="3"
                            <if condition="$search.type eq 3">selected</if>
                            >提货</option>
                        </select>
                        &nbsp;&nbsp;升级状态：
                        <select name="lottery">
                            <option value="">升级状态(全部)</option>
                            <option value="1"
                            <if condition="$search.lottery eq 1">selected</if>
                            >升级中</option>
                            <option value="2"
                            <if condition="$search.lottery eq 2">selected</if>
                            >升级成功</option>
                            <option value="9"
                            <if condition="$search.lottery eq 9">selected</if>
                            >升级失败</option>
                        </select>
                        &nbsp;&nbsp;下单时间：
                        <input type="text" name="stime" class="date J_date_picker " value="{$search[stime]}"
                               style="width:100px"> ~ <input type="text" name="etime" class="date J_date_picker "
                                                             value="{$search[etime]}" style="width:100px">
                        &nbsp;&nbsp;手机号码
                        <input name="tele" type="text" class="input-text" size="15" value="{$search[tele]}">
                        <input type="hidden" name="id" value="{$_GET[id]}">

                        <input type="submit" name="search" class="btn mr10" value="搜索"/>
                    </form>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="explain_col" style="margin-top:10px;">
                    团队名称：{$team.title}
                    <br>
                    总交易额：￥{$order.total}元&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                    今日交易额：￥{$order.days}元&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                    返佣：￥{$commission}元&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                    运费：￥{-$express}元
                    <br>
                    成功退款额：￥{$order.success_refund}元&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                    成功提货额：￥{$order.success_delivery}元&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                    成功待处理额：￥{$order.success_wait}元&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                    失败提货额：￥{$order.failed}元
                    升级中金额：￥{$order.uporder}元

                </div>
            </td>
        </tr>
        </tbody>
    </table>


    <div class="J_tablelist table_list" data-acturi="{:U('user/ajax_edit')}">
        <table width="100%" cellspacing="0">
            <thead>
            <tr>
                <th width="120" align="left">用户</th>
                <th width="100" align="left">手机号码</th>
                <th width="50">订单金额</th>
                <th width="50">升级状态</th>
                <th width="40">退款/提货</th>
                <th width="120">时间</th>
                <th width="120">操作</th>
            </tr>
            </thead>
            <tbody>
            <volist name="list" id="val">
                <tr>
                    <td align="left">{$val.username}</td>
                    <td align="left">{$val.tele}</td>
                    <td align="center">{$val.prices}</td>
                    <td align="center">{$val.lottery}</td>
                    <td align="center">{$val.status}</td>
                    <td align="center">{$val.add_time}</td>
                    <td align="center"><a href="{:U('order/index',array('orderid'=>$val['orderid']))}">查看订单详情</a></td>
                </tr>
            </volist>
            </tbody>
        </table>
        <div class="btn_wrap_fixed">
            <div id="pages">{$page}</div>
        </div>

    </div>
</div>
<include file="public:footer"/>
</body>
</html>
<link rel="stylesheet" type="text/css" href="__STATIC__/js/calendar/calendar-blue.css"/>
<script type="text/javascript" src="__STATIC__/js/calendar/calendar.js"></script>
